$OpenBSD: patch-texmaker_pro,v 1.16 2015/11/14 15:24:44 shadchin Exp $
--- texmaker.pro.orig	Sat Oct 24 14:05:27 2015
+++ texmaker.pro	Sat Nov  7 20:03:27 2015
@@ -23,7 +23,7 @@ PKGCONFIG 	= poppler-qt5
 DEFINES += POPPLER24
 } else {
 CONFIG		+= link_pkgconfig
-PKGCONFIG 	= poppler-qt4
+PKGCONFIG 	= poppler-qt4 hunspell
 DETECTEDPOPPLER=$$system(pkg-config --modversion poppler)
 contains( DETECTEDPOPPLER, "^0.18.*" ){
 DEFINES += OLDPOPPLER
@@ -98,25 +98,6 @@ HEADERS	+= texmaker.h \
 	unicodeview.h \
 	quickbeamerdialog.h \
 	svnhelper.h \
-	hunspell/affentry.hxx \
-	hunspell/affixmgr.hxx \
-	hunspell/atypes.hxx \
-	hunspell/baseaffix.hxx \
-	hunspell/csutil.hxx \
-	hunspell/dictmgr.hxx \
-	hunspell/hashmgr.hxx \
-	hunspell/htypes.hxx \
-	hunspell/hunspell.hxx \
-	hunspell/hunspell.h \
-	hunspell/langnum.hxx \
-	hunspell/license.hunspell \
-	hunspell/phonet.hxx \
-	hunspell/suggestmgr.hxx \
-	hunspell/license.myspell \
-	hunspell/filemgr.hxx \
-	hunspell/hunzip.hxx \
-	hunspell/replist.hxx \
-	hunspell/w_char.hxx \
 	singleapp/qtlocalpeer.h \
 	singleapp/qtlockedfile.h \
 	singleapp/qtsingleapplication.h \
@@ -210,18 +191,6 @@ SOURCES	+= main.cpp \
 	unicodeview.cpp \
 	quickbeamerdialog.cpp \
 	svnhelper.cpp \
-	hunspell/affentry.cxx \
-	hunspell/affixmgr.cxx \
-	hunspell/csutil.cxx \
-	hunspell/dictmgr.cxx \
-	hunspell/hashmgr.cxx \
-	hunspell/hunspell.cxx \
-	hunspell/phonet.cxx \
-	hunspell/suggestmgr.cxx \
-	hunspell/utf_info.cxx \
-	hunspell/filemgr.cxx \
-	hunspell/replist.cxx \
-	hunspell/hunzip.cxx \
 	singleapp/qtlocalpeer.cpp \
 	singleapp/qtlockedfile.cpp \
 	singleapp/qtsingleapplication.cpp \
@@ -436,40 +405,7 @@ utilities.files = doc/doc1.png \
 	locale/texmaker_ar.qm \
 	locale/texmaker_lv.qm \
 	locale/texmaker_uk.qm \
-	locale/texmaker_vi_VN.qm \
-	dictionaries/nl_NL.aff \
-	dictionaries/nl_NL.dic \
-	dictionaries/de_DE.aff \
-	dictionaries/de_DE.dic \
-	dictionaries/en_GB.aff \
-	dictionaries/en_GB.dic \
-	dictionaries/en_US.aff \
-	dictionaries/en_US.dic \
-	dictionaries/es_ES.aff \
-	dictionaries/es_ES.dic \
-	dictionaries/fr_FR.aff \
-	dictionaries/fr_FR.dic \
-	dictionaries/it_IT.aff \
-	dictionaries/it_IT.dic \
-	dictionaries/it_IT_README.txt \
-	dictionaries/hu_HU.aff \
-	dictionaries/hu_HU.dic \
-	dictionaries/README_hu_HU.txt \
-	dictionaries/cs_CZ.aff \
-	dictionaries/cs_CZ.dic \
-	dictionaries/pl_PL.aff \
-	dictionaries/pl_PL.dic \
-	dictionaries/pt_PT.aff \
-	dictionaries/pt_PT.dic \
-	dictionaries/ca_CA.aff \
-	dictionaries/ca_CA.dic \
-	dictionaries/README_pt_PT.txt \
-	dictionaries/README_pl.txt \
-	dictionaries/README_cs_CZ.txt \
-	dictionaries/README_de_DE_frami.txt \
-	dictionaries/README_DIC_fr_FR.txt \
-	dictionaries/README_es_ES.txt \
-	dictionaries/README_en_US.txt
+	locale/texmaker_vi_VN.qm
 INSTALLS += utilities
 
 desktop.files = utilities/texmaker.desktop
